# -*- coding: utf-8 -*-
# Author: jurrabi <jurrabi@gmail.com>
# URL: http://code.google.com/p/mytvalacarta//
#
# This file is part of myTValacarta.
#
# myTValacarta is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# myTValacarta is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with myTValacarta.  If not, see <http://www.gnu.org/licenses/>.
'''
Created on 22/08/2010
@author: jurrabi
Main Entry View - TVShows list in the first version
'''

from tools import logger
logger.debug("[views.main]Init")

import tvshows
from gui import GUI

def Start(params):
    #List TVShows
    mainview = GUI("MainView")
    for show in tvshows.getTVShows():
        mainview.addShow(show)

    mainview.Show()